#! /bin/bash

for image in `ls *.pdf`; do
  # call convert or whatever here
  convert $image `basename $image .pdf`.png
done
